import { Key } from 'ant-design-vue/es/_util/type'

export interface YData {
  name: string
  value: number[],
  show: boolean
}
export interface XData extends Array<Key> {}

export interface ChartData {
  [key: string]: XData | YData[]
}

export interface CommonTypeList {
  loading: boolean
  itemName: string
  dictCode: string | number
  chartData: ChartData,
  unit?: string,
  chartType?: string
}
